package renda.pojo;

import java.util.Date;

/**
 * Topicchild entity. @author MyEclipse Persistence Tools
 */

public class Topicchild implements java.io.Serializable {

	// Fields

	private Integer tcid;
	private Integer topicid;
	private String content;
	private String writer;
	private Date returntime;

	// Constructors

	/** default constructor */
	public Topicchild() {
	}

	/** minimal constructor */
	public Topicchild(Integer topicid, String content, String writer) {
		this.topicid = topicid;
		this.content = content;
		this.writer = writer;
	}

	/** full constructor */
	public Topicchild(Integer topicid, String content, String writer, Date returntime) {
		this.topicid = topicid;
		this.content = content;
		this.writer = writer;
		this.returntime = returntime;
	}

	// Property accessors

	public Integer getTcid() {
		return this.tcid;
	}

	public void setTcid(Integer tcid) {
		this.tcid = tcid;
	}

	public Integer getTopicid() {
		return this.topicid;
	}

	public void setTopicid(Integer topicid) {
		this.topicid = topicid;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getWriter() {
		return this.writer;
	}

	public void setWriter(String writer) {
		this.writer = writer;
	}

	public Date getReturntime() {
		return this.returntime;
	}

	public void setReturntime(Date returntime) {
		this.returntime = returntime;
	}

	@Override
	public String toString() {
		return "Topicchild [content=" + content + ", returntime=" + returntime + ", tcid=" + tcid + ", topicid="
				+ topicid + ", writer=" + writer + "]";
	}

}